package com.thingsgrid.firmware.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mongodb.client.result.UpdateResult;

import java.util.List;
import java.util.Map;

public interface IFirmwareService {

	List<Map> getDevicelist(Page page, String methodid, Integer stats);

	Map getFirmware(Page page, String product_type, String firmware_name, String product_name);

	UpdateResult deleteRecord(String methedId);

	void updateDeviceState(String deviceId, String productId, String firmware_version);
	void updateUpgradeRecordState(String methodId, Integer integer);

}
